<?php
  echo $this->Html->css('pdf_style');
?>

<div id="content">
	<!--  start page-heading -->
	<!-- end page-heading -->
	<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
  	<tr>
  		<th rowspan="3" class="sized">
          <?php //echo $this->Html->image('/images/shared/side_shadowleft.jpg', array('width' => '20', 'height' => '300', 'alt' => '')); ?>
      </th>
  		<th class="topleft"></th>
  		<td id="tbl-border-top">&nbsp;</td>
  		<th class="topright"></th>
  		<th rowspan="3" class="sized">
          <?php //echo $this->Html->image('/images/shared/side_shadowright.jpg', array('width' => '20', 'height' => '300', 'alt' => '')); ?>
      </th>
  	</tr>
  	<tr>
  		<td width="10" id="tbl-border-left"></td>
  		<td width="400" align="center">
  		<!--  start content-table-inner ...................................................................... START -->
    		<div id="content-table-inner">
      			<!--  start table-content  -->
      			<div border="1" bgcolor="#F8E3EC" id="table-content">
      				<h1 style="font-size:35;" color="#B02FAE">Voucher Certificate</h1>
              <table width="390" align="center" border="0" style="margin-left: 5px;font-size:14" cellpadding="0" cellspacing="0" id="product-table">
      				    <tr>
                      <th valign="top">Code</th>
                      <td><img src="<?php echo Configure::read("code_url").'/files/vouchers/'.$gift['Voucher']['code'].'.png'; ?>"/></td>
                  </tr>
      				    <tr>
                      <th height="40">Amount</th>
                      <td><?php echo $this->Number->currency($gift['Voucher']['value'], 'USD'); ?></td>
                  </tr>
      				    <tr>
                      <th height="40">Expiry Date</th>
                      <td><?php echo ($gift['Voucher']['expired_date'])?$gift['Voucher']['expired_date']:"No expired"; ?></td>
                  </tr>
              </table>
        		</div>
      <!--  end content-table  -->
    		</div>
		<!--  end content-table-inner ............................................END  -->
		</td>
		<td width="100" id="tbl-border-right"></td>
	</tr>
	<tr>
		<th class="sized bottomleft"></th>
		<td id="tbl-border-bottom">&nbsp;</td>
		<th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

</div>